// import { get, post } from '@/utils/request'

// export const blockDataAdd = (query) => {
//   return post('/block/data/saveOrUpdateBatch', query)
// }
import { get, post } from '@/utils/request'


// 栏目列表接口
export const cmsChannel_list = (query) => {
  return get('/admin/cmsChannel/list', query)
}
// 内容列表接口
export const cmsContent_list = (query) => {
  return get('/admin/cmsContent/list', query)
}
// 内容详情
export const cmsContent_queryById = (query) => {
  return get('/admin/cmsContent/queryById', query)
}
// 内容增加
export const cmsContent_add = (query) => post('/admin/cmsContent/add', query)
// 内容编辑
export const cmsContent_edit = (query) => {
  return post('/admin/cmsContent/edit', query)
}
export const cmsContent_delete = (query) => {
  return get('/admin/cmsContent/delete', query)
}

// 投递记录
export const getOne = (query) => {
  return get('/admin/opDeliveryHistory/queryById', query)
}
// 系统通知
export const leavingNewsList = (query) => get('/leavingNews/list', query)
export const leavingNewsDelete= (query) => get('/leavingNews/delete', query)
export const leavingNewsCount= (query) => get('/leavingNews/getNotReadCount', query)
export const leavingNewsAdd= (query) => post('/leavingNews/add', query)
export const leavingNewsEdit= (query) => post('/leavingNews/edit', query)


// 招聘消息
export const enMessageList= (query) => get('/enMessage/message/list', query)
export const enMessageDelete= (query) => get('/enMessage/delete', query)
export const enMessageCount= (query) => get('/enMessage/getNotReadCount', query)
export const enMessageEdit= (query) => post('/enMessage/edit', query)
